package com.sai.common.result;

import lombok.Getter;
import lombok.Setter;

public enum ResultCodeEnum {

    SUCCESS(200, "请求成功"),

    NO_DATA(204, "无数据"),

	ERROR(999, "系统异常请与管理员联系")
    ;

    ResultCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Getter
    @Setter
    private int code;
    @Getter
    @Setter
    private String message;

}
